icon.js ➔ Icon   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 3
dl 0
loc 5
rs 9.4285
1
var Icon = /** @class */ (function () {
2
    function Icon(id, version, cdn) {
3
        this.id = id;
4
        this.cdn = cdn;
5
        this.version = version;
6
    }
7
    Icon.prototype.getURL = function () {
8
        return this.cdn + "/" + this.version + "/img/profileicon/" + this.id + ".png";
9
    };
10
    return Icon;
11
}());
12
export { Icon };
13
//# sourceMappingURL=icon.js.map